Skip to content

Conversation

@ErikMcClure
Copy link
Contributor

On some linux systems, if the luajit folder is read-only, when luajit_relver.txt gets copied, it will still have read-only permissions and then fail when opened later. This causes CI failures in certain Nix configurations. The fix is to simply ensure the file isn't read-only after copying. I only made this change to the linux build, but it is at least theoretically possible that it could happen on the windows build as well, though I don't have any examples.

Example of failing CI

Example of successful CI with patch applied

@khvzak khvzak merged commit fde37a0 into mlua-rs:main Oct 21, 2025
@khvzak
Copy link
Member

khvzak commented Oct 21, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants